package com.sakura.mall.order.orderReturnApply.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.order.orderReturnApply.domain.entity.OrderReturnApplyEntity;
import com.sakura.mall.order.orderReturnApply.domain.request.AddOrderReturnApplyRequest;
import com.sakura.mall.order.orderReturnApply.domain.request.UpdateOrderReturnApplyRequest;
import com.sakura.mall.order.orderReturnApply.domain.request.OrderReturnApplyPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.order.orderReturnApply.domain.vo.OrderReturnApplyVo;

/**
 * 订单退货申请 service
 *
 * @author sakura
 */
public interface OrderReturnApplyService extends IService<OrderReturnApplyEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<OrderReturnApplyVo> queryPage(OrderReturnApplyPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddOrderReturnApplyRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateOrderReturnApplyRequest request);
}
